package com.bootdo.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.system.dao.OperatorDao;
import com.bootdo.system.domain.OperatorDO;
import com.bootdo.system.service.OperatorService;



@Service
public class OperatorServiceImpl implements OperatorService {
	@Autowired
	private OperatorDao operatorDao;
	
	@Override
	public OperatorDO get(Integer id){
		return operatorDao.get(id);
	}
	
	@Override
	public List<OperatorDO> list(Map<String, Object> map){
		return operatorDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return operatorDao.count(map);
	}
	
	@Override
	public int save(OperatorDO operator){
		return operatorDao.save(operator);
	}
	
	@Override
	public int update(OperatorDO operator){
		return operatorDao.update(operator);
	}
	
	@Override
	public int remove(Integer id){
		return operatorDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return operatorDao.batchRemove(ids);
	}

	@Override
	public List<OperatorDO> getListByStatus() {
		// TODO Auto-generated method stub
		return operatorDao.getListByStatus();
	}
	
}
